#ifndef SKETCHVIEW_H
#define SKETCHVIEW_H

#include "GraphicsView.h"

class ToolBase;

class SketchView : public GraphicsView
{
public:
    SketchView();
    virtual ~SketchView()
    {
        delete m_activeTool;
    }

protected:
    virtual void mouseMoveEvent(QMouseEvent *event);
    virtual void mousePressEvent(QMouseEvent *event);
    virtual void mouseReleaseEvent(QMouseEvent *event);

private:
    Q_DISABLE_COPY(SketchView)

    ToolBase * m_activeTool;
};

#endif // SKETCHVIEW_H
